using System;
using System.Collections.Generic;
using System.Text;

namespace SEO.Model
{

    /// <summary>
    /// 版权所有: 版权所有(C) 2011，上海云里网络科技有限公司
    /// 内容摘要: EDMSmtp
    /// 完成日期：2011年7月29日
    /// 版    本：V1.0 
    /// 作    者：Adin
    /// </summary>
    public class EDMSmtp
    {
        private int m_SmtpId;
        private string m_EmailAddress;
        private string m_SmtpServer;
        private string m_EmailUsername;
        private string m_EmailPassword;
        private string m_SmtpCredential;
        private int m_IsSsl;
        private int m_IsOk;
        private int m_UserId;
        private string m_PostStatus;

        /// <summary>
        /// SMTP服务器表
        /// </summary>
        public int SmtpId
        {
            get
            {
                return m_SmtpId;
            }
            set
            {
                m_SmtpId = value;
            }
        }

        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string EmailAddress
        {
            get
            {
                return m_EmailAddress;
            }
            set
            {
                m_EmailAddress = value;
            }
        }

        /// <summary>
        /// SMTP服务器
        /// </summary>
        public string SmtpServer
        {
            get
            {
                return m_SmtpServer;
            }
            set
            {
                m_SmtpServer = value;
            }
        }

        /// <summary>
        /// 邮箱用户名
        /// </summary>
        public string EmailUsername
        {
            get
            {
                return m_EmailUsername;
            }
            set
            {
                m_EmailUsername = value;
            }
        }

        /// <summary>
        /// 邮箱密码
        /// </summary>
        public string EmailPassword
        {
            get
            {
                return m_EmailPassword;
            }
            set
            {
                m_EmailPassword = value;
            }
        }

        /// <summary>
        /// 认证方式
        /// </summary>
        public string SmtpCredential
        {
            get
            {
                return m_SmtpCredential;
            }
            set
            {
                m_SmtpCredential = value;
            }
        }

        /// <summary>
        /// 是否支持SSL: 0为支持，1为不支持
        /// </summary>
        public int IsSsl
        {
            get
            {
                return m_IsSsl;
            }
            set
            {
                m_IsSsl = value;
            }
        }

        /// <summary>
        /// 是否启用：0为启用，1为否
        /// </summary>
        public int IsOk
        {
            get
            {
                return m_IsOk;
            }
            set
            {
                m_IsOk = value;
            }
        }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId
        {
            get
            {
                return m_UserId;
            }
            set
            {
                m_UserId = value;
            }
        }

        /// <summary>
        /// 发布状态：=0为未发布，=1为已发布
        /// </summary>
        public string PostStatus
        {
            get
            {
                return m_PostStatus;
            }
            set
            {
                m_PostStatus = value;
            }
        }

    }
}
